#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Teleport.nanopb.h"
#define MAX_TELEPORT_SAFEAREA_NUM 2

class TeleportSafeareaDesc : public NFIDescTemplate<TeleportSafeareaDesc, E_TeleportSafearea, EOT_CONST_TELEPORT_SAFEAREA_DESC_ID, MAX_TELEPORT_SAFEAREA_NUM>
{
public:
	TeleportSafeareaDesc();
	virtual ~TeleportSafeareaDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
